package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.ManBean;

import java.time.LocalDate;
import java.util.List;

public interface IManService {
    public void add(ManBean man);
    public void del(Integer id);
    public void update(Integer id,String phone);
    public ManBean findById(Integer id);
    public List<ManBean> findByItem(String name, LocalDate startDate,LocalDate endDate);
    public IPage<ManBean> cutAll(Integer pageNO);

    public IPage<ManBean> cutByItem(Integer pageNO,String name,LocalDate startDate,LocalDate endDate);
}
